import QtQuick 2.0

Rectangle{
    id: forwarder
    width: 100; height: 100

    signal send()
    onSend: console.log("send clicked")

    MouseArea{
        id: mousearea
        anchors.fill: parent
        onClicked: console.log("mouseArea clicked")
    }

    Component.onCompleted: {
        mousearea.clicked.connect(send)
    }
}
